<layout name='Layout/layout_page' />
	
	<ol class="breadcrumb">
		<li><a href="<{:U('Goods/index')}>">商品管理</a></li>
      	<li class="active">【<{$name}>】图片</li>
    </ol>

    <div class="page-header">
  		<h3><{$name}><small><a class="btn btn-default btn-sm" href="<{:U('Goods/addimg',array('goodsID'=>$goodsID))}>">添加图片</a></small></h3>
	</div>

    <div class="row">
		<volist name="list" id="vo">
		<div class="col-md-3">
		    <div class="thumbnail">
		    	<img src="<{$vo.picname}>" />
		      	<div class="caption">
		        <p>
				<a href="<{:U('Goods/editimg',array('id'=>$vo['id']))}>" class="btn btn-default btn-sm"><i class="icon-edit"></i> 编辑</a>
		        <a href="<{:U('Goods/delimg',array('id'=>$vo['id']))}>" class="btn btn-default btn-sm" onclick="return confirm('删除后将不能恢复，确定要这么做吗？')"><i class="icon-trash"></i> 删除</a>
		        </p>
		      </div>
		    </div>
	    </div>
		</volist>
	</div>



<input type="hidden" id="menu_action" value="goods" />